package xyz.ddlnt.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/6 21:49
 */
@Schema(description = "新增笔记")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NoteAddDTO {

    @Schema(description = "用户 id")
    private Long userId;
    @Schema(description = "笔记标题")
    private String noteTitle;
    @Schema(description = "1 文件夹；2 文件")
    private Integer type;
    @Schema(description = "文件或文件夹的层级：1~5")
    private Integer layer;
    @Schema(description = "文件(夹)的前节点id（帖子id，没有则为0）")
    private Long dirPrevNodeId;
}
